/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Array;

/**
 *
 * @author stefano.marangoni
 */
public class a3 {
    public static void main(String args[]) {
        /*inserito nella media dei vostri valori*/
    double nums[]={10.1, 11.2, 12.3, 13.4, 14.5};
    double result =0;
            int i;
            for(i=0;i< 5; i++)
                result=result+nums[i];
            System.out.println("Average is"+result/5);}}

           